import React from 'react';
import styles from './index.less';

export default function ResumeIframe({ url, isNative }) {
    return (
        <div className={styles.wrap}>
            <div className={styles.maskTop}>
                <i className={styles.logo} />
                微微科技内部文件，仅供查看
            </div>
            <iframe
                title="简历预览"
                style={{
                    width: '100%',
                    height: '600px',
                    border: 0,
                    marginTop: isNative ? 88 : 0
                }}
                src={url}
            />
        </div>
    );
}
